﻿@model sample.Models.tbd_News

@{
    ViewBag.Title = "ViewNews";
}

<h2>ViewNews</h2>

<fieldset>
    <legend>tbd_News</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">Tag</div>
    <div class="display-field">@Model.Tag</div>

    <div class="display-label">Image</div>
    <div class="display-field">@Model.Image</div>

    <div class="display-label">Content</div>
    <div class="display-field">@Html.Raw(Model.Content)</div>

    <div class="display-label">Detail</div>
    <div class="display-field">@Html.Raw(Model.Detail)</div>

    <div class="display-label">Date</div>
    <div class="display-field">@String.Format("{0:g}", Model.Date)</div>

    <div class="display-label">Title</div>
    <div class="display-field">@Model.Title</div>

    <div class="display-label">Description</div>
    <div class="display-field">@Model.Description</div>

    <div class="display-label">Keyword</div>
    <div class="display-field">@Model.Keyword</div>

    <div class="display-label">Priority</div>
    <div class="display-field">@Model.Priority</div>

    <div class="display-label">Index</div>
    <div class="display-field">@Model.Index</div>

    <div class="display-label">Active</div>
    <div class="display-field">@Model.Active</div>

    <div class="display-label">GroupNewsId</div>
    <div class="display-field">@Model.GroupNewsId</div>

    <div class="display-label">Lang</div>
    <div class="display-field">@Model.Lang</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>

